package cn.sdc.bugKiller.bean;

import java.util.Date;

public class BugProcessBean {

	public static String TBL_NAME = "m_bug_process";
	public static String FORCE_CLODE_BUG_REPLY = "强制关闭Bug";
	
	
	private Integer id;
	
	private Integer bug;
	
	private Integer assigner;
	
    private String assignerName;
	
	private Integer handler;
	
	private String handlerName;
	
    /**
     * -1 -> 已分配
     * -2 -> 重分配
     * 1  -> 未修复
     * 2  -> 待审核
     * 3  -> 已关闭
     * 4  -> 已强制关闭
     */
	private Integer status;
	
	private String statusName;
	
	private String bugReply;
	
	private Date replyDate;
	
	private Boolean delFlg;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBug() {
		return bug;
	}

	public void setBug(Integer bug) {
		this.bug = bug;
	}

	public Integer getAssigner() {
		return assigner;
	}

	public void setAssigner(Integer assigner) {
		this.assigner = assigner;
	}

	public Integer getHandler() {
		return handler;
	}

	public void setHandler(Integer handler) {
		this.handler = handler;
	}

	public String getBugReply() {
		return bugReply;
	}

	public void setBugReply(String bugReply) {
		this.bugReply = bugReply;
	}

	public Date getReplyDate() {
		return replyDate;
	}

	public void setReplyDate(Date replyDate) {
		this.replyDate = replyDate;
	}

	public Boolean getDelFlg() {
		return delFlg;
	}

	public void setDelFlg(Boolean delFlg) {
		this.delFlg = delFlg;
	}

	public String getAssignerName() {
		return assignerName;
	}

	public void setAssignerName(String assignerName) {
		this.assignerName = assignerName;
	}

	public String getHandlerName() {
		return handlerName;
	}

	public void setHandlerName(String handlerName) {
		this.handlerName = handlerName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
		this.statusName = BugStatus.getName(status);
	}

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	
}
